package org.wwb.antbox.user.model.menu.enums;

import org.ant.commons.models.ienums.ICodeEnum;

/**
 * @Author Bond
 * @Date: 2019/12/26 17:20
 * @Description: 菜单类型 0 模块 1菜单 2按钮
 */
public enum SysMenuTypeEnum implements ICodeEnum {
    MODEL("0", "模块"),
    MENU("1", "菜单"),
    BUTTON("2", "按钮");

    private final String code;
    private String trans;


    SysMenuTypeEnum(String code, String trans) {
        this.code = code;
        this.trans = trans;
    }

    @Override
    public String getCode() {
        return this.code;
    }

    @Override
    public String getTrans() {
        return this.trans;
    }
}